package web.java.service.impl;

import java.util.List;

import web.java.dao.impl.EmpDaoImpl;
import web.java.entity.Employee;
import web.java.service.EmployeeService;

public class EmpServiceImpl implements EmployeeService{
	EmpDaoImpl edi=new EmpDaoImpl();
	@Override
	public List<Employee> getAll() {
		List<Employee> list=edi.getAll();
		return list;
	}

	@Override
	public boolean verify(String username, String password) {
		boolean b=edi.verify(username,password);
		return b;
	}

}
